home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / sos3-2.lha / bin / sos-init < prev    next >
Text File  |  1992-02-13  |  767b  |  26 lines

  1. #!/bin/sh
  2. # --------------------------------------------------------------------------
  3. # Copyright 1992 by Forschungszentrum Informatik (FZI)
  4. #
  5. # You can use and distribute this software under the terms of the licence
  6. # you should have received along with this program.
  7. # If not or if you want additional information, write to
  8. # Forschungszentrum Informatik, "STONE", Haid-und-Neu-Strasse 10-14,
  9. # D-7500 Karlsruhe 1, Germany.
  10. # --------------------------------------------------------------------------
  11. # 'sos-init - 06:03:91 - Dietmar Theobald'
  12. #
  13. # sos-init
  14. #
  15. # Cleans the container directory $SOSCONTAINER by removing all container and
  16. # running 'init'.
  17. #
  18. BINDIR=${SOSPATH-__SOS_INSTALLED_PATH__}/bin/
  19.  
  20. cd ${SOSCONTAINER?}
  21.  
  22. rm -f [0-9]*
  23. echo -n > 1
  24.  
  25. ${BINDIR}init
  26.